using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
[Serializable]
public class MdMaterialtypeEntity : EntityBase
{
public MdMaterialtypeTable TableSchema
{
get
{
return (MdMaterialtypeTable)_tableSchema;
}}

public MdMaterialtypeEntity()
{
_tableSchema = MdMaterialtypeTable.Current;
}

#region 属性列表

public String MaterialTypeID
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_MATERIALTYPEID)); }
set { SetData(MdMaterialtypeTable.C_MATERIALTYPEID, value); }
}

public String MaterialTypeName
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_MATERIALTYPENAME)); }
set { SetData(MdMaterialtypeTable.C_MATERIALTYPENAME, value); }
}

public String IsMaterial
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_ISMATERIAL)); }
set { SetData(MdMaterialtypeTable.C_ISMATERIAL, value); }
}

public String IsInjection
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_ISINJECTION)); }
set { SetData(MdMaterialtypeTable.C_ISINJECTION, value); }
}

public String Status
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_STATUS)); }
set { SetData(MdMaterialtypeTable.C_STATUS, value); }
}

public String CreateUserId
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_CREATEUSERID)); }
set { SetData(MdMaterialtypeTable.C_CREATEUSERID, value); }
}

public String CreateUserName
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_CREATEUSERNAME)); }
set { SetData(MdMaterialtypeTable.C_CREATEUSERNAME, value); }
}

public DateTime? CreateDate
{
get { return Convert.ToDateTime(GetData(MdMaterialtypeTable.C_CREATEDATE)); }
set { SetData(MdMaterialtypeTable.C_CREATEDATE, value); }
}

public String ModifyUserId
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_MODIFYUSERID)); }
set { SetData(MdMaterialtypeTable.C_MODIFYUSERID, value); }
}

public String ModifyUserName
{
get { return Convert.ToString(GetData(MdMaterialtypeTable.C_MODIFYUSERNAME)); }
set { SetData(MdMaterialtypeTable.C_MODIFYUSERNAME, value); }
}

public DateTime? ModifyDate
{
get { return Convert.ToDateTime(GetData(MdMaterialtypeTable.C_MODIFYDATE)); }
set { SetData(MdMaterialtypeTable.C_MODIFYDATE, value); }
}

#endregion
}
}